package com.oocl.dao;

import java.util.List;

import com.oocl.pojo.Customer;

public interface CustomerDao {
	/**
	 * 
	 * @param customer
	 * @return
	 */
	public int addCustomer(Customer customer);
	
	/**
	 * 
	 * @return
	 */
	public List<Customer> findAllCustomers();
	
	/**
	 * 选出最后一次插入数据库的id
	 * @return
	 */
	public int getLastId();
	
	/**
	 * 
	 * @param cust_id
	 * @return
	 */
	public boolean delByCustId(int cust_id);
}
